import request from '../../utils/request'
import {LoginType} from '../../types/users'
export default{
    login:(data:LoginType)=>request.post('/users/login',data),
    getAuthMenus:()=>request.get("/menus/getAuthMenus"),
    getUserInfo:()=>request.get("/users/getUserInfo")
}